package com.alks.function.mapper.stockdept.pcfactorystockquery;

import com.alks.entity.data.entity.SdBomFitSub;
import com.alks.function.data.dto.stockdept.pcfactorystockwork.LotSubMtlDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2023-11-04
 */
public interface SD_SQ_SdBomFitSubMapper extends BaseMapper<SdBomFitSub> {

    List<LotSubMtlDto> otherLotSubMtlQuery(String mtlNo);

    /**
     * 财务补单核算贴合子材料查询
     *
     * @param mtlNo     材料ID
     * @param companyId
     * @return 贴合子材料列表
     */
    List<Map<String, Object>> finSuppMtlSubFitQuery(@Param("mtlNo") String mtlNo, @Param("companyId") String companyId);
}
